<!--
  @description:科室信息组件
  @author: lhf
  @time:
-->
<template>
  <div class="off-name">
    <div class="dept-name text-ellipsis">{{ options.deptName || '' }}</div>
    <div class="room-name text-ellipsis">{{ options.zsName || '' }}</div>
  </div>
</template>

<script>
export default {
  name: 'dept-info',
  props: {
    options: {
      type: Object,
      default: function () {
        return {
          deptName: '',
          zsName: {}
        };
      }
    }
  },
  data() {
    return {};
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
@import '@/assets/styles/rooms.scss';
</style>
